+2008-03-27 Kevin Cozens <kcozens@cvs.gnome.org>
+
+ * configure.ac:
+ * docs/graphics/Makefile.am: Applied patch from Matteo 'Peach'
+ Pescarin which makes build use rsvg binary instead of inkscape
+ to create pngs. Fixes bug 571516.
+
2009-03-26 Manish Singh <yosh@gimp.org>
* configure.ac: BABL_VARIADIC_MACROS needs to be called before
CFLAGS="$CFLAGS $extra_warnings"
-AC_PATH_PROG(INKSCAPE, inkscape, no)
-AM_CONDITIONAL(HAVE_INKSCAPE, test "x$INKSCAPE" != "xno")
+AC_PATH_PROG(RSVG, rsvg, no)
+AM_CONDITIONAL(HAVE_RSVG, test "x$RSVG" != "xno")
AC_PATH_PROG(W3M, w3m, no)
AM_CONDITIONAL(HAVE_W3M, test "x$W3M" != "xno")
.SILENT:
-if HAVE_INKSCAPE
+if HAVE_RSVG
PNG_FILES = \
babl-a4poster.png \
babl-16x16.png \
all: $(MAINTAINERCLEANFILES)
-INKSCAPE_CMD = echo -n " SVG: $@" ;\
- $(INKSCAPE) -e $@ $< 2&>/dev/null\
+RSVG_CMD = echo -n " SVG: $@" ;\
+ $(RSVG) $< $@\
&&\
echo " [OK]"\
||\
echo " FAIL"
-if HAVE_INKSCAPE
-dist-check-inkscape:
+if HAVE_RSVG
+dist-check-rsvg:
%.png: %.svg
- $(INKSCAPE_CMD)
+ $(RSVG_CMD)
#-e $@ $< 2>/dev/null
# the png version of the a4 poster is used as a webgraphic
# 0.0
babl-a4poster.png: babl-a4poster.svg
echo -n " SVG: $@" ;\
- $(INKSCAPE) -e $@ $< -w 256 -y 0 2&>/dev/null\
+ $(RSVG) -w 256 $< $@\
&&\
echo " [OK]"\
||\
echo " FAIL"
else
-dist-check-inkscape:
- @echo "*** inkscape must be available in order to make dist"
+dist-check-rsvg:
+ @echo "*** rsvg must be available in order to make dist"
@false
endif
-dist-hook: dist-check-inkscape
+dist-hook: dist-check-rsvg